import Layout from '@/layout'
export default {
  path: '/base',
  name: 'base',
  meta: { title: '后台管理', icon: 'el-icon-s-cooperation' },
  // 员工模块路由规则
  component: Layout,
  children: [
    {
      path: 'users',
      name: 'users',
      component: () => import('@/views/base/users'),
      meta: { title: '用户', icon: 'el-icon-s-custom' }
    },
    {
      path: 'menus',
      name: 'menus',
      component: () => import('@/views/base/menus'),
      meta: { title: '菜单', icon: 'el-icon-s-order' }
    },
    {
      path: 'permissions',
      name: 'permissions',
      component: () => import('@/views/base/peimision'),
      meta: { title: '权限', icon: 'el-icon-s-opportunity' }
    },
    {
      path: 'logs',
      name: 'logs',
      component: () => import('@/views/base/logs'),
      meta: { title: '日志', icon: 'el-icon-s-order' }
    }
  ]
}
